import 'package:flutter/material.dart';
import 'file:///D:/Projects/flutter/flutter_module/lib/page/Battery/BatteryLevelPage.dart';
import 'file:///D:/Projects/flutter/flutter_module/lib/page/OrderMeal/OrderMealIndexPage.dart';
import 'file:///D:/Projects/flutter/flutter_module/lib/page/OrderMeal/OrderMealRecordPage.dart';
import 'file:///D:/Projects/flutter/flutter_module/lib/page/University/CourseDetail/CourseDetailPage.dart';
import 'package:fluttermodule/page/University/UniversityIndexPage.dart';

/**
 * 路由配置的类
 */

//点餐
class OrderMeal {

  //点餐首页
  static const String OrderMealIndexPage = '/order_meal_index_page';

  //点餐记录
  static const String OrderMealRecordPage = '/order_meal_record_page';

  //电量
  static const String BatteryLevel = '/battery_level_page';

  //课程详情
  static const String CourseDetailPage = '/course_detail_page';

  //大学首页
  static const String UniversityIndexPage = '/university_index_page';



}


//路由配置的map
Map<String,WidgetBuilder> routerConfig = {
  OrderMeal.OrderMealRecordPage:(context) =>OrderMealRecordPage(),
  OrderMeal.BatteryLevel:(context) =>BatteryLevel(),
  OrderMeal.CourseDetailPage:(context) =>CourseDetailPage(),
  OrderMeal.UniversityIndexPage:(context) =>UniversityIndexPage(),
};


